@charset "utf-8";

.container{
    position:fixed;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    min-width: 1000px;
    background:url("../img/bjtp.jpg") no-repeat;
    background-size: cover;
    background-position: center 0;
}
.balloon
{
    height: calc(1.2 * var(--size));
    width: var(--size);
    background: hsla(var(--hue), 100%, 50%, 0.8);
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
    position: absolute;
    top: 30%;
    left:var(--left, 50%);
    animation: float 5s infinite linear both;
}
.balloon:before
{
    content: '';
    position: absolute;
    width: 20%;
    height: 30%;
    top: 8%;
    left: 16%;
    border-radius: 50%;
    transform: rotate(40deg);
    background: hsla(0, 0%, 100%, 0.75);
}
.handle
{
    width: 2%;
    height: 60%;
    background:hsl(45, 100%, 40%);
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    position: absolute;
}
.handle:before,.handle:after
{
    content: '';
    position: absolute;
    height: 5%;
    transform: translate(-50%, 0);
    border-radius: 25% / 50%;
    left: 50%;
}
.handle:before
{
    top: 0;
    background:hsl(45, 100%, 40%);
    width: 500%;
}
.handle:after
{
    top: 5%;
    background: hsla(var(--hue), 100%, 50%, 0.8)
width: 700%;
}

@keyframes float
{
    from  {  transform: translate(-50%, -50%) translate(0, 300px); }
    to    {  transform: translate(-50%, -50%) translate(0, -300px); }
}

#bird1{
    width: 200px;
    height: 200px;
    background:url("../img/birds1.png") no-repeat;
    background-size: 70%;
    position: absolute;
    top: 40px;
    left: 20px;
    animation: bird1 20s linear infinite;
}

@keyframes bird1 {
    0% {
        transform: translate(0px, 0px);
    }
    20%{
        transform: translate(300px, -30px);
    }
    40% {
        transform: translate(600px, -50px);
    }
    60% {
        transform: translate(900px, 10px);
    }
    100% {
        transform: translate(1200px, 40px);
    }
}

#bird2{
    width: 200px;
    height: 200px;
    background:url("../img/birds2.png") no-repeat;
    background-size: 70%;
    position: absolute;
    top: 50px;
    left: 1200px;
    animation: bird2 20s linear infinite;
}

@keyframes bird2 {
    0% {
        top:40px;
        left:1200px;
    }
    20% {
        top:60px;
        left:900px;
    }
    40% {
        top:90px;
        left:600px;
    }
    60%{
        top:50px;
        left:300px;
    }
    100% {
        top:80px;
        left:50px;
    }
}
